#pragma once
#include "front.h"
#include "back.h"

class manager{
public:
	manager();
	~manager();

	int closeConn();
	int setFrontFd(int fd);
	int createConn();

	int sendToBack(const char*msg, int msg_len);
	int sendToFront(const char*msg, int msg_len);

public:
	front *frontConn;
	back *backConn;
};

